from werkzeug.routing import BaseConverter

class ReagxConvertr(BaseConverter):
    """自定义转换器"""
    def __init__(self,url_map,*args):

        super(ReagxConvertr,self).__init__(url_map)
        self.regex = args[0]

